Fix range_straddles_boundary() check to exclude regions that
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 18 Aug 2005 10:41:55 +0000 (10:41 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 18 Aug 2005 10:41:55 +0000 (10:41 +0000)
commit597ecd67a9f8c238c85600d76d36cb653c5b323d
treec68bd9d16af362124bf22abe2639f79dfcfa7e7f
parent2c1e4b63b900919ae13647359a1a6addc95674c7
Fix range_straddles_boundary() check to exclude regions that
were allocated with xen_create_contiguous_region(). Such areas
do not require bounce buffers (swiotlb).

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/xen/i386/mm/hypervisor.c
linux-2.6-xen-sparse/arch/xen/i386/mm/init.c
linux-2.6-xen-sparse/arch/xen/x86_64/mm/init.c
linux-2.6-xen-sparse/include/asm-xen/asm-i386/dma-mapping.h